package com.digitalchina.lxnsy.viewholder;

import android.view.ViewGroup;
import android.widget.TextView;

import com.digitalchina.lxnsy.R;
import com.digitalchina.lxnsy.entity.CompromanagerVO;
import com.jude.easyrecyclerview.adapter.BaseViewHolder;

/**
 * ================================================
 * 项目名称：BigData
 * 类描述：
 * 包名：com.digitalchina.bigdata.viewholder
 * 创建人：郑皓
 * 创建时间：2018/3/14 14:28
 * 修改备注：
 * ================================================
 */

public class FAQListHolder extends BaseViewHolder<CompromanagerVO> {

    private TextView tvTitle;


    public FAQListHolder(ViewGroup parent) {
        super(parent, R.layout.item_faq_list);
        tvTitle = $(R.id.tv_title);
    }

    @Override
    public void setData(CompromanagerVO data) {
        super.setData(data);
        tvTitle.setText(data.getTitle());
    }
}
